package com.lixunhuan.handacount.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * @author lidd
 * @time 2021/3/22
 */
@Data
public class HandAcountVo {

    private int id;
    /**
     * 用户id
     */
    private String uid;

    /**
     * 1支出 2收入
     */
    private Integer type;

    /**
     * 对应kind表id
     */
    private Integer kindId;

    private String descstr;

    private Double amount;

    private String iconstr;

    private String icondesc;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime addTime;

}
